<template>
  <h2>首页</h2>
  <p>{{ name }}</p>
  <ElButton>按钮</ElButton>
</template>

<script>
import { ElButton } from "element-plus";
import { mapState } from "vuex";
export default {
  name: "Home",
  
  computed: {
    ...mapState("home", ["name"]),
  },
  components: {
    ElButton,
  },
};
</script>

<style>
</style>